package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库单对象 ha_drug_stockin
 * 
 * @author 鲍小伟
 * @date 2025-11-26
 */
public class HaDrugStockin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库ID */
    private Long inid;

    /** 入库单号 */
    @Excel(name = "入库单号")
    private String inno;

    /** 采购明细ID */
    @Excel(name = "采购明细ID")
    private Long itemId;

    /** 验收ID */
    @Excel(name = "验收ID")
    private Long acceptId;

    /** 储存位置 */
    @Excel(name = "储存位置")
    private String storageLoc;

    /** 实际入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date intime;

    /** 入库员 */
    @Excel(name = "入库员")
    private String inuser;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setInid(Long inid) 
    {
        this.inid = inid;
    }

    public Long getInid() 
    {
        return inid;
    }

    public void setInno(String inno) 
    {
        this.inno = inno;
    }

    public String getInno() 
    {
        return inno;
    }

    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }

    public void setAcceptId(Long acceptId) 
    {
        this.acceptId = acceptId;
    }

    public Long getAcceptId() 
    {
        return acceptId;
    }

    public void setStorageLoc(String storageLoc) 
    {
        this.storageLoc = storageLoc;
    }

    public String getStorageLoc() 
    {
        return storageLoc;
    }

    public void setIntime(Date intime) 
    {
        this.intime = intime;
    }

    public Date getIntime() 
    {
        return intime;
    }

    public void setInuser(String inuser) 
    {
        this.inuser = inuser;
    }

    public String getInuser() 
    {
        return inuser;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inid", getInid())
            .append("inno", getInno())
            .append("itemId", getItemId())
            .append("acceptId", getAcceptId())
            .append("storageLoc", getStorageLoc())
            .append("intime", getIntime())
            .append("inuser", getInuser())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
